﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BUS
{
    public class BizProduct
    {
        #region "variable.............."
        private int idProduct;
        private string maSP;
        private string tenSP;
        private BizNhanHieu nhanHieu;
        private BizXuatXu xuatXu;
        private Decimal gia;
        private string doiTuong;
        private string size;
        private string tacDung;
        private string chiTiet;
        private string hinhAnh;
        private BizCTPhanLoaiSP cTPhanLoaiSP;
        #endregion

        #region "Property......................"
        public int IdProduct
        {
            get { return idProduct; }
            set { idProduct = value; }
        }

        public string MaSP
        {
            get { return maSP; }
            set { maSP = value; }
        }

        public string TenSP
        {
            get { return tenSP; }
            set { tenSP = value; }
        }

        public BizNhanHieu NhanHieu
        {
            get { return nhanHieu; }
            set { nhanHieu = value; }
        }

        public BizXuatXu XuatXu
        {
            get { return xuatXu; }
            set { xuatXu = value; }
        }

        public decimal Gia
        {
            get { return gia; }
            set { gia = value; }
        }

        public string DoiTuong
        {
            get { return doiTuong; }
            set { doiTuong = value; }
        }

        public string Size
        {
            get { return size; }
            set { size = value; }
        }

        public string TacDung
        {
            get { return tacDung; }
            set { tacDung = value; }
        }

        public string ChiTiet
        {
            get { return chiTiet; }
            set { chiTiet = value; }
        }

        public string HinhAnh
        {
            get { return hinhAnh; }
            set { hinhAnh = value; }
        }

        public BizCTPhanLoaiSP CTPhanLoaiSp
        {
            get { return cTPhanLoaiSP; }
            set { cTPhanLoaiSP = value; }
        }

        #endregion

        #region "Constructor"
        public BizProduct()
        {
          
        }

        public BizProduct(int id, string maSP, string tenSP, BizNhanHieu nhanHieu, BizXuatXu xuatXu, Decimal gia, string doiTuong, string size, string tacDung, string image, BizCTPhanLoaiSP ctPhanLoaiSP)
        {
            this.idProduct = id;
            this.maSP = maSP;
            this.tenSP = tenSP;
            this.nhanHieu = nhanHieu;
            this.xuatXu = xuatXu;
            this.gia = gia;
            this.doiTuong = doiTuong;
            this.size = size;
            this.hinhAnh = image;
            this.cTPhanLoaiSP = ctPhanLoaiSP;
        }
        #endregion
    }
}